package com.xl.studentpass.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xl.studentpass.entity.TaskInfoEntity;
import com.xl.studentpass.entity.UserEntity;
import com.xl.studentpass.entity.po.OrderOverViewPo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: xl
 * @createTime: 2023/5/28 14:25:51
 * @program: student-pass
 * @e-mail: 2199396150@qq.com
 * @description:
 */
@Mapper
public interface UserMapper extends BaseMapper<UserEntity> {
    List<TaskInfoEntity> getTaskByStatus(Integer userId, @Param("statusId") Integer statusId);

    List<OrderOverViewPo> getOrderByStatus(Integer userId, Integer statusId);
}
